package com.dating.entities;

import java.io.IOException;

import android.annotation.SuppressLint;
import android.content.Context;
import android.database.SQLException;
import android.util.Log;

import com.dating.libs.client.parttern.asa.ADbSqlHelper;

/**
 * Extends from aSqlHelper. Must set path of database in aSqlHelper.class first
 * */
@SuppressLint("SdCardPath")
public class DataBaseHelper extends ADbSqlHelper {
	public static final String TAG="class: DataBaseHelper";
	
	/**
	 * initial Database helper.
	 * @see must call init(Context, DataBaseHelper) method after constructor
	 * */
	public DataBaseHelper(Context context) {
		super(context);
	}
	@Override
	public void createDataBase() throws IOException {
		super.createDataBase();
		Log.v(TAG, "create database");
	}
	
	@Override
	public void openDataBase() throws SQLException {
		super.openDataBase();
		Log.v(TAG, "open database");
	}
}